package com.cn.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cn.order.entity.Admin;
import org.apache.ibatis.annotations.Mapper;

/**
 * 管理员Mapper接口
 */
@Mapper
public interface AdminMapper extends BaseMapper<Admin> {

    /**
     * 修改
     * @param admin
     * @return
     */
    public Integer update(Admin admin);
    public Admin queryById(Integer id);
    public Integer updatePassword(Admin admin);
    public Integer updateInfo(Admin admin);
}
